// 城市经纬度信息（全国主要城市及部分地级市）
class CityCoordinates {
  // 硬编码城市经纬度
  static final Map<String, List<double>> hardcodedCities = {
    '北京': [116.4074, 39.9042],
    '上海': [121.4737, 31.2304],
    '广州': [113.2644, 23.1291],
    '深圳': [114.0579, 22.5431],
    '成都': [104.0668, 30.5728],
    '杭州': [120.1551, 30.2741],
    '武汉': [114.3055, 30.5928],
    '西安': [108.9480, 34.2631],
    '重庆': [106.5045, 29.5332],
    '南京': [118.7674, 32.0415],
    '昆明': [102.7122, 25.0406],
    '天津': [117.190169, 39.125596],
    '苏州': [120.619585, 31.299379],
    '青岛': [120.355152, 36.082982],
    '厦门': [118.103889, 24.489231],
    '哈尔滨': [126.642464, 45.756967],
    '沈阳': [123.429092, 41.792429],
    '大连': [121.614682, 38.914047],
    '济南': [117.000923, 36.675807],
    '郑州': [113.665412, 34.757975],
    '长沙': [112.982279, 28.19409],
    '福州': [119.306239, 26.075302],
    '南宁': [108.320004, 22.816002],
    '贵阳': [106.713478, 26.578343],
    '石家庄': [114.502461, 38.045474],
    '合肥': [117.283042, 31.86119],
    '南昌': [115.892751, 28.676495],
    '太原': [112.549248, 37.890277],
    '长春': [125.3245, 43.8868],
    '兰州': [103.792349, 36.059421],
    '呼和浩特': [111.738384, 40.818311],
    '银川': [106.278179, 38.46637],
    '西宁': [101.778916, 36.61717],
    '拉萨': [91.132212, 29.66037],
    '乌鲁木齐': [87.617733, 43.792818],
    '海口': [110.33119, 20.031971],
    '三亚': [109.511909, 18.2572],
    // 浙江省
    '宁波': [121.5497, 29.8683],
    '温州': [120.6721, 28.0130],
    '绍兴': [120.5826, 30.0515],
    '嘉兴': [120.7555, 30.7466],
    '湖州': [120.0868, 30.8944],
    '金华': [119.6495, 29.0895],
    '衢州': [118.8726, 28.9359],
    '台州': [121.4208, 28.6564],
    '丽水': [119.9232, 28.4518],
    '舟山': [122.2072, 29.9853],
    // 江苏省
    '徐州': [117.2841, 34.2058],
    '南通': [120.8564, 32.0162],
    '连云港': [119.2216, 34.5967],
    '淮安': [119.0213, 33.5975],
    '盐城': [120.1636, 33.3477],
    '扬州': [119.4129, 32.3942],
    '镇江': [119.4528, 32.2044],
    '泰州': [119.9152, 32.4849],
    '宿迁': [118.2752, 33.9630],
    // 河南省
    '洛阳': [112.4540, 34.6197],
    '开封': [114.3073, 34.7971],
    '平顶山': [113.1927, 33.7669],
    '安阳': [114.3924, 36.0976],
    '鹤壁': [114.2954, 35.7482],
    '新乡': [113.9268, 35.3030],
    '焦作': [113.2418, 35.2159],
    '濮阳': [115.0293, 35.7618],
    '许昌': [113.8526, 34.0355],
    '漯河': [114.0264, 33.5818],
    '三门峡': [111.2001, 34.7732],
    '南阳': [112.5283, 32.9908],
    '商丘': [115.6564, 34.4142],
    '信阳': [114.0913, 32.1470],
    '周口': [114.6969, 33.6261],
    '驻马店': [114.0223, 32.9773],
    '济源': [112.6023, 35.0672],
    // 云南省
    '大理': [100.2257, 25.5894],
    '丽江': [100.2330, 26.8721],
    '西双版纳': [100.7974, 22.0094],
    '香格里拉': [99.7087, 27.8256],
    '玉溪': [102.5439, 24.3509],
    '曲靖': [103.7962, 25.4900],
    '保山': [99.1618, 25.1120],
    '昭通': [103.7172, 27.3382],
    '普洱': [100.9729, 22.7772],
    '临沧': [100.0796, 23.8776],
    '楚雄': [101.5460, 25.0430],
    '红河': [103.3846, 23.3642],
    '文山': [104.2442, 23.3695],
    '德宏': [98.5881, 24.4333],
    '怒江': [98.8543, 25.8607],
    '迪庆': [99.7030, 27.8189],
    // 更多城市可按需补充
  };

  /// 获取城市经纬度
  static List<double>? getCoordinates(String cityName) {
    return hardcodedCities[cityName];
  }
}